package cn.kgc.entity;

import java.io.Serializable;

public class Emp implements Serializable {
	private Integer empId;
	private String name;
	private Double sal;
	private Integer deptId;
	public Integer getEmpId() {
		return empId;
	}
	public void setEmpId(Integer empId) {
		this.empId = empId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getSal() {
		return sal;
	}
	public void setSal(Double sal) {
		this.sal = sal;
	}
	public Integer getDeptId() {
		return deptId;
	}
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	@Override
	public String toString() {
		return "Emp [empId=" + empId + ", name=" + name + ", sal=" + sal + ", deptId=" + deptId + ", getEmpId()="
				+ getEmpId() + ", getName()=" + getName() + ", getSal()=" + getSal() + ", getDeptId()=" + getDeptId()
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}
	
	
}
